package com.drore.www.logbeansecret.bean;

import java.io.Serializable;

/**
 * desc
 *
 * @author sixbing
 * @date 2018/12/10 15:36
 */

public class NetConnectBean implements Serializable {
    private String requestMethod;//请求方式
    private String requestUrl;//请求链接
    private String requestParams;//请求参数
    private int requestCode;//请求状态码
    private boolean success;//请求是否成功
    private long requestStartTime;//请求开始时间
    private long requestEndTime;//请求结束时间
    private long requestDuration;//请求持续时间
    private String requestProtocol;//请求协议
    private String requestDetail;//请求详情或描述


    private String appVersion;//APP的当前版本
    private String appId;//当前APP的唯一id。          后端配置提供
    private String udId;//当前手机的唯一序列号。

    public String getRequestMethod() {
        return requestMethod;
    }

    public void setRequestMethod(String requestMethod) {
        this.requestMethod = requestMethod;
    }

    public String getRequestUrl() {
        return requestUrl;
    }

    public void setRequestUrl(String requestUrl) {
        this.requestUrl = requestUrl;
    }

    public String getRequestParams() {
        return requestParams;
    }

    public void setRequestParams(String requestParams) {
        this.requestParams = requestParams;
    }

    public int getRequestCode() {
        return requestCode;
    }

    public void setRequestCode(int requestCode) {
        this.requestCode = requestCode;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public long getRequestStartTime() {
        return requestStartTime;
    }

    public void setRequestStartTime(long requestStartTime) {
        this.requestStartTime = requestStartTime;
    }

    public long getRequestEndTime() {
        return requestEndTime;
    }

    public void setRequestEndTime(long requestEndTime) {
        this.requestEndTime = requestEndTime;
    }

    public long getRequestDuration() {
        return requestDuration;
    }

    public void setRequestDuration(long requestDuration) {
        this.requestDuration = requestDuration;
    }

    public String getRequestProtocol() {
        return requestProtocol;
    }

    public void setRequestProtocol(String requestProtocol) {
        this.requestProtocol = requestProtocol;
    }

    public String getRequestDetail() {
        return requestDetail;
    }

    public void setRequestDetail(String requestDetail) {
        this.requestDetail = requestDetail;
    }

    public String getAppVersion() {
        return appVersion;
    }

    public void setAppVersion(String appVersion) {
        this.appVersion = appVersion;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getUdId() {
        return udId;
    }

    public void setUdId(String udId) {
        this.udId = udId;
    }

    public NetConnectBean() {
    }

    public NetConnectBean(String requestMethod, String requestUrl, String requestParams, int requestCode,
                          boolean success, long requestStartTime, long requestEndTime, long requestDuration,
                          String requestProtocol, String requestDetail) {
        this.requestMethod = requestMethod;
        this.requestUrl = requestUrl;
        this.requestParams = requestParams;
        this.requestCode = requestCode;
        this.success = success;
        this.requestStartTime = requestStartTime;
        this.requestEndTime = requestEndTime;
        this.requestDuration = requestDuration;
        this.requestProtocol = requestProtocol;
        this.requestDetail = requestDetail;
    }
}
